#include "stdio.h"

int twoDigitAdd(int a, int b) {
    //todo write your algorithm here
    int sum;
    if (a<0||b<0)
    {
        printf("输入数字必须为正数哟！");
    }
    else if (a>=100||b>=100)
    {
        a = a % 100;
        b = b % 100;
    }
    sum = a + b;
    if (sum>=100)
    {
        sum = sum % 100;
    }
  
   return sum;
}

int main(void)
{
    int a ;
    int b ;
	printf("请输入a= ,b= \n");
	scanf("%d,%d",&a,&b );
    printf("%d add %d is %d", a, b, twoDigitAdd(a, b));
	scanf("%d");
    return 0;
}